package com.gcu.authcenter;

import com.gcu.admin.api.api.OAuthClientFeignClient;
import com.gcu.admin.api.api.UserFeignClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ system:Mac
 * @ author:lin tingfeng
 * @ data:2023/9/20 15:16
 * @ package_name:com.gcu.authcenter
 * @ project_name:SpringCloud-Oauth2
 * @ desc: 认证中心启动类
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackageClasses = {UserFeignClient.class, OAuthClientFeignClient.class})
public class AuthCenterApp {

    public static void main(String[] args) {
        SpringApplication.run(AuthCenterApp.class,args);
    }

}
